Electronic device, method of controlling charging by electronic device, and method of supplying power by power supply device

ABSTRACT

An electronic device is provided. The electronic device includes a housing, a battery included within the housing, a connector electrically connected to an external power supply device including an integrated circuit (IC) and exposed to a part of the housing, and a power management unit included within the housing and electrically connected to the connector, wherein the power management unit is configured to communicate with the IC of the external power supply device, and wherein the connector is configured to receive a first current of a first current value during at least a part of the communication and to receive a second current of a second current value greater than the first current value during at least a part in which the communication is not performed.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This application is a continuation application of prior application Ser.No. 17/341,887, filed on Jun. 8, 2021, which has issued as U.S. Pat. No.11,599,172 on Mar. 7, 2023, which is a continuation application of priorapplication Ser. No. 16/797,688, filed on Feb. 21, 2020, which hasissued as U.S. Pat. No. 11,050,286 on Jun. 29, 2021, which is acontinuation application of prior application Ser. No. 14/842,212, filedon Sep. 1, 2015, which has issued as U.S. Pat. No. 10,574,074 on Feb.25, 2020 and is based on and claims priority under 35 U.S.C. § 119(a) ofa Korean patent application filed on Sep. 2, 2014 in the KoreanIntellectual Property Office and assigned Serial number 10-2014-0116434,the disclosure of which is incorporated by reference herein in itsentirety.

TECHNICAL FIELD

The present disclosure relates to an electronic device for preventingdamage from malfunction or heat generated during charging of theelectronic device, a charging control method of an electronic device, apower supply device, and power supply method of a power supply device.

BACKGROUND

Generally, electronic devices, such as smart phones, tablet personalcomputers (PCs), portable multimedia players (PMPs), personal digitalassistants (PDAs), laptop PCs, and wearable devices, for example, wristwatches, head-mounted displays (HMDs), and the like, may perform notonly a phone call function, but also various other functions (forexample, games, social network services (SNS), internet, multimedia, andtaking and displaying a picture or a video). As electronic devicescontinue to increase various functions, the power consumption by aprocessor also increases. Accordingly, the need of a charging technologyto reduce the battery charging time has increased.

Therefore, a need exists for an electronic device, a charging controlmethod of an electronic device, a power supply device, and a powersupply method of a power supply device for preventing functionalityissues, such as a malfunction of the electronic device, which may begenerated when high power is supplied to the electronic device toquickly charge the electronic device, electromagnetic interference(EMI), and a communication connection failure.

The above information is presented as background information only toassist with an understanding of the present disclosure. No determinationhas been made, and no assertion is made, as to whether any of the abovemight be applicable as prior art with regard to the present disclosure.

SUMMARY

Aspects of the present disclosure are to address at least theabove-mentioned problems and/or disadvantages and to provide at leastthe advantages described below. Accordingly, an aspect of the presentdisclosure is to provide an electronic device, a charging control methodof an electronic device, a power supply device, and a power supplymethod of a power supply device for preventing functionality issues,such as a malfunction of the electronic device, which may be generatedwhen high power is supplied to the electronic device to quickly chargethe electronic device, electromagnetic interference (EMI), and acommunication connection failure.

Another aspect of the present disclosure is to provide an electronicdevice, a charging control method of an electronic device, a powersupply device, and a power supply method of a power supply device forpreventing functionality issues, such as an infrared (IR) drop in whicha voltage drop occurs in proportion to a current flowing due to acommunication error or resistance of a connection line by restricting acurrent received during communication between the electronic device andan external power supply device.

In accordance with an aspect of the present disclosure, an electronicdevice is provided. The electronic device includes a housing, a batteryincluded within the housing, a connector electrically connected to anexternal power supply device including an integrated circuit (IC) andexposed to a part of the housing, and a power management unit includedwithin the housing and electrically connected to the connector. Thepower management unit may be configured to communicate with the IC ofthe external power supply device. The connector may be configured toreceive a first current of a first current value during at least a partof the communication and receive a second current of a second currentvalue greater than the first current value during at least a part inwhich the communication is not performed.

In accordance with another aspect of the present disclosure, method ofcontrolling charging by an electronic device is provided. The methodincludes detecting a connection with the external power supply device,performing communication with the external power supply device, andreceiving power from the external power supply device based on a resultof the communication and charging the battery. The method may includereceiving a first current of a first current value during at least apart of the communication and receiving a second current of a secondcurrent value greater than the first current value during at least apart in which the communication is not performed.

In accordance with another aspect of the present disclosure, a powersupply device is provided. The power supply device includes an interfaceconfigured to supply power to an external electronic device, theinterface being connected to the external electronic device and acharging supply control module configured to communicate with theexternal electronic device, make a control to supply a first current ofa first current value to the external electronic device during at leasta part of the communication, and make a control to supply a secondcurrent of a second current value greater than the first current valueto the external electronic device during at least a part in which thecommunication is not performed.

In accordance with another aspect of the present disclosure, a method ofsupplying power is provided. The method includes receiving a chargingpower value from an external electronic device, transmitting anacknowledge message to the external electronic device, and supplyingpower corresponding to the charging power value to the externalelectronic device. The method may include supplying a first current of afirst current value to the external electronic device during at least apart of communication with the external electronic device and supplyinga second current of a second current value greater than the firstcurrent value to the external electronic device during at least a partin which the communication is not performed.

According to an electronic device, a charging control method of anelectronic device, a power supply device, and a power supply method of apower supply device according to various embodiments of the presentdisclosure, a quick charging mode or a normal charging mode is selectedand a battery can be charged based on the selected mode.

According to an electronic device, a charging control method of anelectronic device, a power supply device, and a power supply method of apower supply device according to various embodiments of the presentdisclosure, a communication malfunction between an external power supplydevice and the electronic device, which may be generated during thecharging, can be prevented.

According to an electronic device, a charging control method of anelectronic device, a power supply device, and a power supply method of apower supply device according to various embodiments of the presentdisclosure, EMI, which may be generated during the charging, can beprevented.

According to an electronic device, a charging control method of anelectronic device, a power supply device, and a power supply method of apower supply device according to various embodiments of the presentdisclosure, when communication between the external power supply deviceand the electronic device is disconnected due to an abnormal operationduring the charging, the communication can be automatically connected.

Other aspects, advantages, and salient features of the disclosure willbecome apparent to those skilled in the art from the following detaileddescription, which, taken in conjunction with the annexed drawings,discloses various embodiments of the present disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other aspects, features, and advantages of certainembodiments of the present disclosure will be more apparent from thefollowing description taken in conjunction with the accompanyingdrawings, in which:

FIG. 1 is a block diagram of an electronic device according to anembodiment of the present disclosure;

FIG. 2 is a block diagram of a charging system including an electronicdevice and a power supply device according to an embodiment of thepresent disclosure;

FIG. 3 illustrates signals for controlling charging of an electronicdevice and a charging control method according to an embodiment of thepresent disclosure;

FIG. 4 is a flowchart illustrating a charging control method of anelectronic device according to an embodiment of the present disclosure;

FIG. 5 is a flowchart illustrating an operation in a quick charging modein a charging control method of an electronic device according tovarious embodiments of the present disclosure;

FIG. 6 is a flowchart illustrating a method of supplying power by anexternal power supply device according to an embodiment of the presentdisclosure;

FIG. 7 is a flowchart illustrating a charging control method of anelectronic device according to an embodiment of the present disclosure;

FIGS. 8A, 8B, and 8C illustrate a user interface that displays acharging mode in an electronic device and a charging control method ofthe electronic device according to an embodiment of the presentdisclosure;

FIG. 9 illustrates a result of a measurement of noise generated in anoperation of charging of an electronic device and a charging controlmethod of the electronic device according to an embodiment of thepresent disclosure; and

FIG. 10 illustrates a charging system according to various embodimentsof the present disclosure.

Throughout the drawings, it should be noted that like reference numbersare used to depict the same or similar elements, features, andstructures.

DETAILED DESCRIPTION

The following description with reference to the accompanying drawings isprovided to assist in a comprehensive understanding of variousembodiments of the present disclosure as defined by the claims and theirequivalents. It includes various specific details to assist in thatunderstanding but these are to be regarded as merely exemplary.Accordingly, those of ordinary skill in the art will recognize thatvarious changes and modifications of the various embodiments describedherein can be made without departing from the scope and spirit of thepresent disclosure. In addition, descriptions of well-known functionsand constructions may be omitted for clarity and conciseness.

The terms and words used in the following description and claims are notlimited to the bibliographical meanings, but, are merely used by theinventor to enable a clear and consistent understanding of the presentdisclosure. Accordingly, it should be apparent to those skilled in theart that the following description of various embodiments of the presentdisclosure is provided for illustration purpose only and not for thepurpose of limiting the present disclosure as defined by the appendedclaims and their equivalents.

It is to be understood that the singular forms “a,” “an,” and “the”include plural referents unless the context clearly dictates otherwise.Thus, for example, reference to “a component surface” includes referenceto one or more of such surfaces.

By the term “substantially” it is meant that the recited characteristic,parameter, or value need not be achieved exactly, but that deviations orvariations, including for example, tolerances, measurement error,measurement accuracy limitations and other factors known to those ofskill in the art, may occur in amounts that do not preclude the effectthe characteristic was intended to provide.

In the accompanying drawings, some components may be exaggerated,omitted, or schematically illustrated, and a size of each component maynot precisely reflect the actual size thereof. Accordingly, variousembodiments of the present disclosure are not restricted by the relativesizes or intervals of elements illustrated in the accompanying drawings.

Further, the term “and” used in the present specification should beunderstood as including any and all combinations of at least one of theassociated listed items.

In addition, the terms, such as “unit”, “module”, and the like, indicatea unit for processing at least a function or an operation, and may beembodied through hardware, software, or a combination hardware andsoftware.

FIG. 1 is a block diagram of an electronic device according to variousembodiments of the present disclosure.

Referring to FIG. 1 , an electronic device 100 may include a displayunit 110, an input unit 120, a sensor unit 130, a controller 140, acommunication unit 150, a storage unit 160, an audio unit 170, a powermanagement unit 180, an interface 187, and a battery 190. According toan embodiment of the present disclosure, the electronic device 100 mayinclude the above components within the housing. The electronic device100 may be connected to an external power supply device and may includea connector exposed to a part of the housing. The connector may beconnected to the interface 187.

The display unit 110 may display various screens (for example, a mediacontent reproduction screen, a screen for an outgoing call, a messengerscreen, a game screen, a gallery screen, and the like) according to theoperation of the electronic device 100 by the user.

The display unit 110 may display (output) information processed by theelectronic device 100. For example, when the electronic device 100 is ina call mode, the display unit 131 may display a call related userinterface (UI) or graphical user interface (GUI). Further, the displayunit 110 may display a video call mode, a photographed or/and receivedimage, or a UI or GUI. The display unit 110 may support a display in alandscape or portrait mode depending on an orientation of the electronicdevice 100 (or a direction in which the electronic device is placed) anda screen switching display depending on a change between the landscapeand portrait modes.

The display unit 110 may include at least one of a liquid crystaldisplay (LCD), a thin film transistor-LCD (TFT-LCD), a light emittingdiode (LED), an organic LED (OLED), an active matrix OLED (AMOLED), aflexible display, a bended display, and a three dimensional (3D)display. Some of the displays may be implemented in a transparentdisplay configured in a transparent or photo-transparent type such thatthe outside can be viewed therethrough.

According to an embodiment of the present disclosure, the display 110may display a user interface indicating a charging mode while theelectronic device 100 (for example, the battery 190 of the electronicdevice 100) is charged. For example, the electronic device 100 maydisplay a symbol, a figure an icon, or a drawing, which indicates thatthe battery 190 is being charged, or a text, a phrase, or a figure,which indicates a charging mode. The display unit 110 may displayanother user interface (for example, a screen showing the charging)indicating the charging mode according to whether the electronic device100 is turned on. When the electronic device 100 is turned off, thedisplay unit 110 may display a dynamic user interface. According to anembodiment of the present disclosure, the display unit 110 may display amovable user interface showing different speeds or different amounts (orranges) depending on the charging mode.

The input unit 120 may receive an input for controlling the electronicdevice 100 from the user. The input unit 120 may receive a touch inputfrom the user. The input unit 120 may include a touch panel. The touchpanel may recognize a touch input based on at least one of, for example,a capacitive type, a resistive type, an infrared (IR) type, and anultrasonic type. Further, the touch pad may further include a controlcircuit. In the case of the capacitive type, physical contact orproximity recognition is possible. The touch panel may further include atactile layer. The touch panel may provide the user with a tactilereaction. The input unit 120 may transmit an input signal according tothe received touch input to the controller 140.

The input unit 120 may include a (digital) pen sensor, a key, or anultrasonic input device. The (digital) pen sensor may be implemented,for example, using a method identical or similar to receiving a user'stouch input or using a separate recognition sheet. The key may include,for example, a physical button, an optical key, or a keypad. Theultrasonic input device is a device which may detect an acoustic wave bya microphone of the electronic device 100 through an input devicegenerating an ultrasonic signal to identify data and may performwireless recognition.

According to various embodiments of the present disclosure, the displayunit 110 and the input unit 120 may be integrally implemented. Forexample, the electronic device 100 may include a touch screen. The touchscreen may simultaneously perform an input function and a displayfunction. The touch screen may be formed in a structure in which a touchpanel and a display panel are accumulated. The touch screen may includean input/output device. The touch screen may detect a user's touch eventinput (for example, a touch based long press input, a touch based shortpress input, a single touch based input, a multi-touch based input, atouch based gesture (for example, a drag) input, and the like)contacting a surface of the touch screen. When the touch screen detectsa user's touch event on the surface of the touch screen, the touchscreen may detect a coordinate where the touch event is generated andtransmit the detected coordinate to the controller 140.

The touch screen may be configured to convert a pressure applied to aparticular part of the surface of the touch screen or a change incapacitance generated in a particular part into an electrical inputsignal. The touch screen may be configured to detect a touch pressureaccording to an applied touch type as well as a touched position and atouched area. When there is a touch input on the touch screen, a signal(signals) corresponding to the touch input may be transferred to a touchcontroller (not illustrated). The touch controller (not illustrated) mayprocess the signal (signals), and then transfer corresponding data tothe controller 140.

According to various embodiments of the present disclosure, the inputunit 120 may receive a mode selection input for selecting a chargingmode from the user. According to an embodiment of the presentdisclosure, the input unit 120 may receive a user input for selectingwhether to activate a quick charging function from the user. Forexample, the input unit 120 may receive a user input for selecting on oroff of the quick charging mode from the user. The input unit 120 maytransmit the received mode selection input to the controller 140 (or thepower management unit 180).

The sensor unit 130 may measure a physical quantity or detect anoperating state of the electronic device 100, and convert the measuredor detected information into an electrical signal. The sensor unit 130may include at least one of, for example, a gesture sensor, a gyrosensor, an atmospheric pressure sensor, a magnetic sensor, anacceleration sensor, a grip sensor, a proximity sensor, a color sensor(for example, a red, green, and blue (RGB) sensor), a bio sensor, atemperature/humidity sensor, an illumination sensor, and ultraviolet(UV) sensor. Additionally or alternatively, the sensor unit 130 mayinclude an E-nose sensor, an electromyography (EMG) sensor, anelectroencephalogram (EEG) sensor, an electrocardiogram (ECG) sensor, anIR sensor, an iris sensor, a fingerprint sensor, and a geomagneticsensor. The sensor unit 130 may further include a control circuit forcontrolling at least one sensor included therein.

According to various embodiments of the present disclosure, the sensorunit 130 may measure a temperature of components of the electronicdevice 100 (for example, the display unit 110, the input unit 120, thesensor unit 130, the controller 140, the communication unit 150, thestorage unit 160, or the battery 190) by using a temperature sensor.According to an embodiment of the present disclosure, the sensor unit130 may measure a surface temperature of the electronic device 100 andtemperatures of internal components such as the battery 190 and theconnector while the battery 190 is charged. The sensor unit 130 maytransmit the measured temperature to the controller 140 or the powermanagement unit 180.

The controller 140 may control a plurality of hardware components (forexample, the display unit 110, the input unit 120, the sensor unit 130,the communication unit 150, and the storage unit 160) or softwarecomponents by driving an operating system or an application program, andmay perform processing of various types of data including multimediadata and calculations. The controller 140 may be implemented by, forexample, a system on chip (SoC). According to an embodiment of thepresent disclosure, the controller 140 may further include a graphicalprocessing unit (GPU, not illustrated). According to an embodiment ofthe present disclosure, the controller 140 may be an applicationprocessor (AP) or a communication processor (CP). According to anembodiment of the present disclosure, the controller 140 may receivecommands from other components through a bus, analyze the receivedcommands, and perform calculations or data processing according to theanalyzed commands.

According to an embodiment of the present disclosure, the controller 140may control power input into/output from the battery 190 or theelectronic device 100 by controlling the power management unit 180 orthe interface 187.

The communication unit 150 may support a wireless communication functionof the electronic device 100, and may be configured as a mobilecommunication module when the electronic device 100 supports a mobilecommunication function. The communication unit 150 may include a radiofrequency (RF) transmitter for up-converting and amplifying a frequencyof a transmitted wireless signal and an RF receiver for low-noiseamplifying a received wireless signal and down-converting a frequency.Further, when the electronic device 100 supports a short-range wirelesscommunication function, such as Wi-Fi communication, Bluetoothcommunication, Zigbee communication, ultra wideband (UWB) communication,and near field communication (NFC), the communication unit 150 mayinclude a Wi-Fi communication module, a Bluetooth communication module,a Zigbee communication module, a UWB communication module, and a NFCcommunication module.

According to various embodiments of the present disclosure, thecommunication unit 150 may perform wired or wireless communication withan external power supply device under a control of the controller 140(or the power management unit 180). For example, the communication unit150 may transmit, to the external power supply device, a charging powervalue of the power to be supplied (for example, a charging current valueor a charging voltage value).

The storage unit 160 may store image data, voice data, data input from acamera, data for processing a calculation, an algorithm required for anoperation of the electronic device 100, configuration data, and guideinformation, and may also temporarily store a processing result.

The storage unit 160 may include a volatile memory or a non-volatilememory. For example, the volatile memory may include a static randomaccess memory (SRAM) and a dynamic RAM (DRAM), and the non-volatilememory may include a read only memory (ROM), a flash memory, a harddisk, a secure digital (SD) memory card, and a multimedia card (MMC).

The storage unit 160 may store commands or data received from orgenerated by the controller 140 or other components (for example, thedisplay unit 110, the input unit 120, the sensor unit 130, and thecommunication unit 150). The storage unit 160 may include programmingmodules, such as a kernel, middleware, an application programminginterface (API), or applications. Each of the aforementioned programmingmodules may be formed of software, firmware, hardware, or a combinationof at least two thereof.

The kernel may control or manage system resources (for example, the bus,the controller 140 or the storage unit 160) used for performingoperations or functions implemented in the remaining other programmingmodules, the middleware, the API, or the applications. Further, thekernel may provide an interface that allows the middleware, the API, orthe applications to access each component of the electronic device 100and to control or manage the component.

The middleware may act as an intermediary so as to allow the API or theapplications to communicate with and exchange data with the kernel.Further, in association with task requests received from theapplications, the middleware may perform a control (for example,scheduling or load balancing) for the task request by using, forexample, a method of assigning a priority by which the system resources(for example, the controller 140 or the storage unit 160) of theelectronic device 100 can be used for at least one of the applications.

The API is an interface used by the application to control a functionprovided from the kernel or the middleware, and may include, forexample, at least one interface or function (for example, a command) fora file control, a window control, image processing, a character control,and the like.

The audio unit 170 may bi-directionally convert a voice and anelectrical signal. The audio unit 170 may include at least one of, forexample, a speaker, a receiver, earphones, and a microphone to convertinput or output voice data.

The power management unit 180 may manage power of the electronic device100. The power management unit 180 may be electrically connected to theinterface 187 and a connector which is connected to the interface 187.The power management unit 180 may perform communication with anintegrated circuit (IC) of the external power supply device. The IC ofthe external power supply device may be a module for controlling powersupply. For example, the power management unit 180 may communicate withan internal module of the external power supply device (for example, acharging supply control module 220). The power management module 180 maymake a control to receive the current of a first current value from theexternal power supply device through the connector or the interface 187during at least a part of the communication between the electronicdevice 100 and the external power supply device. The power managementunit 180 may make a control to receive the current of a second currentvalue, which is greater than the first current value, from the externalpower supply device during at least a part, in which the communicationbetween the electronic device 100 and the external power supply deviceis not performed, through the connector or the interface 187. Accordingto an embodiment of the present disclosure, after the electronic device100 is connected to the external power supply device, the powermanagement unit 180 may control the connector or the interface 187 toreceive the current of a second current value from the external powersupply device during a first period and to receive the current of afirst current value during a second period after the first period. Thepower management unit 180 may make a control to receive the current of athird current value, which is greater than the first current value, fromthe external power supply device through the connector or the interface187 during a third period after the second period. The third currentvalue may be less than the second current value. For example, the powermanagement unit 180 may control the connector or the interface 187 toreceive the current of the second current value from the external powersupply device during a first period after the electronic device 100 isconnected to the external power supply device, to receive the current ofthe first current value, which is less than the second current value,during the second period in which the electronic device 100 communicateswith the external power supply device, and to receive the current of thethird current value, which is greater than the first current value andless than the second current value, during the third period in whichpower is supplied according to a charging mode after the communication.

According to an embodiment of the present disclosure, the powermanagement unit 180 may detect impedance of an element inside theexternal power supply device after the electronic device 100 isconnected to the external power supply device. The power management unit180 may perform communication based on at least a part of the detectedimpedance. For example, the power management unit 180 may detectimpedance of the module or the IC inside the external power supplydevice (for example, the charging supply control module 220). The powermanagement unit 180 may perform the communication between the electronicdevice 100 and the external power supply device bytransmitting/receiving a signal based on the detected impedance.

According to an embodiment of the present disclosure, the powermanagement unit 180 may exchange information related to a voltage valueand/or a certain current value required by the electronic device 100with the IC of the external power supply device through communication.

According to an embodiment of the present disclosure, the powermanagement unit 180 may include a charging control module 181 forconfiguring a charging mode with the external power supply device (forexample, a quick charging mode or a normal charging mode) andcontrolling the charging of the electronic device 100 according to thecharging mode, a power management module 183 for managing power inputinto/output to the battery, and an electromagnetic wave shield unit 185for shielding noise generated by a power supply.

The power management unit 180 (for example, the power management module183 of the power management unit 180) may include a power management IC(PMIC) and a charger IC. For example, the PMIC may be mounted within anintegrated circuit or an SoC semiconductor. The charging methods may beclassified into a wired charging method and a wireless charging method.The charger IC may charge a battery 190 and can prevent introduction ofover-voltage or over-current from a charger. According to an embodimentof the present disclosure, the charger IC may include a charger IC forat least one of the wired charging method and the wireless chargingmethod. A magnetic resonance scheme, a magnetic induction scheme, or anelectromagnetic scheme may be exemplified as the wireless chargingmethod, and an additional circuit for wireless charging, such as a coilloop circuit, a resonance circuit, a rectifier circuit, and the like,may be added. According to various embodiments of the presentdisclosure, the PMIC or the charger IC may include an electromagneticwave shielding device for shielding an electromagnetic wave around thePMIC or the charger IC. For example, the PMIC or the charger IC mayinclude a shield can in a frame form.

The power management unit 180 (for example, the charging control module181 of the power management unit 180) may detect a connection with theexternal power supply device. For example, the power management unit 180may receive power from the external power supply device, or detect theconnection with the external power supply device when a particularsignal is received. The power management unit 180 may determine whetherthe connected external device is a power supply device for supplyingpower or a device for another purpose based on the signal received fromthe connected external device.

The power management unit 180 may determine the type of the connectedexternal power supply device. For example, the power management unit 180may determine whether the external power supply device is a power supplydevice, which supports at least two charging modes, based on the signalreceived from the external power supply device. For example, the powermanagement unit 180 may determine whether the connected external powersupply device is a power supply device which supports a quick chargingmode or a normal charging mode. The power management unit 180 may setthe quick charging mode or the normal charging mode according to whetherthe external power supply device supports the quick charging.

The quick charging mode may be a mode in which the external power supplydevice supplies power to the electronic device 100 by using greatercharging power. For example, in the quick charging mode, the electronicdevice 100 may prevent an IR drop while receiving greater power from theexternal power supply device by using a charging voltage (for example, 9V) higher than the normal charging voltage (for example, 5V) and acharging current (for example, 1.67 A) lower than the normal chargingcurrent (for example, 1.8 A). For example, when the electronic device100 is connected to the external power supply device through a connectoror a connection wire to receive power, the IR drop corresponding to avoltage drop in proportion to the flowing current due to resistance ofthe connector or the connection wire through which the power istransferred may occur.

According to an embodiment of the present disclosure, the electronicdevice 100 receives, from the external power supply device, greaterpower by using the relatively greater charging voltage and less currentcompared to the normal charging, thereby preventing issues of the IRdrop while receiving the greater power. The external power supplydevice, which supports the quick charging mode, may communicate with theelectronic device 100. For example, the external power supply device mayreceive a charging current value, a charging voltage value, or acharging power value from the electronic device 100 and supply powercorresponding thereto. The power management unit 180 may receiveinformation on an identification (ID), type, or model of the externalpower supply device from the external power supply device connected tothe electronic device 100. The power management unit 180 may determinewhether the external power supply device supports the quick chargingmode by using the received information. When the external power supplydevice supports the quick charging mode, the power management unit 180may set the charging mode as the quick charging mode.

According to an embodiment of the present disclosure, the powermanagement unit 180 (for example, the charging control module 181 of thepower management unit 180) may set or change the charging mode accordingto the mode setting input received by the input unit 120. The powermanagement unit 180 may activate or deactivate the quick charging modeaccording to the user input received by the input unit 120.

According to an embodiment of the present disclosure, the powermanagement unit 180 may transmit a first charging power value for thequick charging to the external power supply device. In this case, whenan acknowledge message is received from the external power supplydevice, the power management unit 180 may support the quick chargingmode, determine that power corresponding to the first charging powervalue transmitted by the external power supply device can be supplied,and set the charging mode as the quick charging mode. For example, whenthe power management unit 180 transmits the first charting power valueof 9 V and 1.67 A to the external power supply device, the powermanagement unit 180 may receive a signal indicating the same value fromthe external power supply device as the acknowledge message. In thiscase, the power management unit 180 may determine that the externalpower supply device supports the quick charging mode through theacknowledge message and transmit the first charging power value to theexternal power supply device again. Accordingly, the battery is chargedin the quick charging mode.

According to an embodiment of the present disclosure, the external powersupply device may support only the quick charging mode of a particularvoltage. The power management unit 180 may transmit the first chargingpower value including the particular voltage value for the quickcharging to the external power supply device, and determine whether theexternal power supply device can supply power corresponding to a voltagevalue included in the first charging power value based on theacknowledge message received from the external power supply device.

The power management unit 180 may control power supplied through theinterface 187 or power input into/output to the battery 190 based on theset charging mode.

The power management unit 180 may set a charging power value andtransmit the set charging power value to the external power supplydevice. The power management unit 180 may make a control to transmit thecharging power value through communication with the external powersupply device and to receive power corresponding to the charging powervalue transmitted to the external power supply device. For example, thepower management unit 180 may make a control to transmit a greatercharging voltage value compared to the normal charging and thus toreceive greater power corresponding to the charging voltage value fromthe external power supply device. The power management unit 180 maycontrol the electronic device 100 to receive power corresponding to arelatively large first charging power value from the external powersupply device in the quick charging mode and to receive powercorresponding to a second charging power value less than the firstcharging power value in the normal charging mode. In this case, thepower management unit 180 may determine whether power corresponding tothe set charging power value is supplied from the external power supplydevice.

According to an embodiment of the present disclosure, the powermanagement unit 180 may control the power received from the externalpower supply device to be equal to or less than a certain value whilethe electronic device 100 communicates with the external power supplydevice (for example, the electronic device 100 transmits/receivesparticular information (for example, the charging power value orinformation on the external power supply device) to/from the externalpower supply device. For example, the power management unit 180 maylimit the voltage and current of the supplied power to a certain valuewhile the electronic device 100 communicates with the external powersupply device. For example, the power management unit 180 may limit thecharging power supplied from the external power supply device from thefirst charging power value (for example, 9 V and 1.6 A) for the quickcharging to the second charging power value (for example, 5 V and 1.8 A)less than the first charging power value while the electronic device 100communicates with the external power supply device. For example,according to various embodiments of the present disclosure, it ispossible to maintain a smooth communication state by limiting thecurrent value to prevent the IR drop during the communication betweenthe electronic device 100 and the external power supply device.

According to an embodiment of the present disclosure, when the powerreceived from the external power supply device does not correspond tothe preset and transmitted charging power value, the power managementunit 180 may initialize and reset the charging mode. For example, whenpower, which does not correspond to the charging power value desired bythe external power supply device, is supplied from the external powersupply device in the quick charging mode, the power management unit 180may initialize the charging mode and perform an operation for settingthe charging mode again.

When the power supplied from the external power supply device does notcorrespond to the set and transmitted charging power value, the powermanagement unit 180 may determine that there is an error incommunication with the external power supply device or the system (forexample, at least one of the components of the electronic device).According to an embodiment of the present disclosure, the powermanagement unit 180 may force a positive line (D+ line) of the interfaceconnected to the external power supply device to drop from high to lowin order to perform re-communication with the external power supplydevice. In this case, the positive line and a negative line (D− line) ofthe interface short-circuit. Thereafter, an interrupt is removed and acommunication state with the external power supply device may beinitialized while the negative line temporarily becomes high and thenoperates in low.

According to an embodiment of the present disclosure, when the voltageof the external power supply device becomes less than a preset value,the power management unit 180 may initialize the charging mode andsetting and reattempt the charging. When the voltage of the externalpower supply device becomes less than a preset value, the powermanagement unit 180 may determine that the external power supply deviceis in an unstable state, and thus stop the charging and initialize andreset the charging mode.

According to an embodiment of the present disclosure, when power issupplied from the external power supply device, a fold-back phenomenonmay occur in which the voltage of the VBUS switches to a second voltageless than a first voltage for the quick charging. In this case, theelectronic device 100 may initialize and reset the charging mode.

According to an embodiment of the present disclosure, the powermanagement unit 180 may determine whether a particular function of theelectronic device 100 is performed in the quick charging mode. Forexample, the power management unit 180 may determine whether a callfunction, a message function, a game function, and a multimediareproduction function are performed in the quick charging mode. When theparticular function is performed, the power management unit 180 maychange the charging mode from the quick charging mode to the normalcharging mode. According to an embodiment of the present disclosure,when a particular user function is performed in the quick charging mode,the power management unit 180 may stop charging the battery 190 for acertain time. When the particular user function is performed in thequick charging mode, the power management unit 180 may limit a chargingpower value to a certain value or less while maintaining the chargingmode. In another example, the power management unit 180 may determinewhether the screen of the electronic device 100 is turned off. The powermanagement unit 180 may make a control to conduct the quick chargingonly when the screen of the electronic device 100 is turned off.

According to an embodiment of the present disclosure, each component ofthe power management unit 180 (for example, the charging control module181, the power management module 183, and the electromagnetic waveshield unit 185) may be configured as an individual module or as onecombined module of the power management unit 180. According to anembodiment of the present disclosure, the power management unit 180 mayoperate in the electronic device 100 as a separate module which is notincluded in the controller 140. According to an embodiment of thepresent disclosure, the power management unit 180 may be configured asone module together with the controller 140 and perform a function ofthe controller 140 or the power management unit 180 together with thecontroller 140 or the power management unit 180.

The interface 187 may include, for example, a high-definition multimediainterface (HDMI), a universal serial bus (USB), an optical interface, ora D-subminiature (D-sub). The interface 187 may include, for example, amobile high-definition link (MHL) interface, an SD card/MMC interface,or an infrared data association (IrDA) interface.

The interface 187 may be connected to the external power supply device,for example, a travel charger (a travel adapter (TA) or a travel charger(TC)) which converts alternating current (AC) power into direct current(DC) power. The interface 187 may be connected to an external wired orwireless charger. The interface 187 according to an embodiment of thepresent disclosure may have a separate interface standard which isdistinguished from an interface standard (for example, a 20-pininterface, a micro USB interface, and the like) of the travel charger(hereinafter, referred to as a wired charger) generally used by aportable terminal of the related art. The interface 187 may supply powerinput from the external power supply device to the electronic device100.

The battery 190 may store or generate electricity and may supply powerto the electronic device 100 by using the stored or generatedelectricity. For example, the battery 190 may include a rechargeablebattery or a solar battery.

FIG. 2 is a block diagram of a charging system including an electronicdevice and an external power supply device according to an embodiment ofthe present disclosure.

Referring to FIG. 2 , the electronic device 100 may include theinterface 187, the power management unit 180, the controller 140, andthe battery 190.

The interface 187 may be connected to an external power supply device200. The interface 187 may supply power input from the external powersupply device 200 to the electronic device 100.

The power management unit 180 may set a charging mode and control thesupplied power to charge the battery 180.

According to an embodiment of the present disclosure, the powermanagement unit 180 may include the charging control module 181, thepower management module 183, and the electromagnetic wave shield unit185 for shielding noise generated by a power supply.

The charging control module 181 or the power management module 183 maymanage power of the electronic device 100. Hereinafter, an embodiment inwhich the charging control module 181 controls the current duringcommunication is described. However, according to various embodiments ofthe present disclosure, the power management module 183 may control thecurrent, voltage, or power during communication between the electronicdevice 100 and the external power supply device 200, and, through aninterworking between the charging control module 181 and the powermanagement module 183, the current, voltage, or power during charging ofthe electronic device 100 and the external power supply device 200 maybe controlled.

The charging control module 181 may be electrically connected to theinterface 187 and a connector which is connected to the interface 187.The charging control module 181 may perform communication with an IC ofthe external power supply device. The IC of the external power supplydevice 200 may be a module for controlling power supply of the IC (forexample, the charging supply control module 220). The charging controlmodule 181 may make a control to receive the current of a first currentvalue from the external power supply device 200 during at least a partof the communication between the electronic device 100 and the externalpower supply device 200 through the connector and the interface 187. Thecharging control module 181 may make a control to receive the current ofa second current value greater than the first current value from theexternal power supply device 200 during at least a part, in which thecommunication between the electronic device 100 and the external powersupply device 200 is not performed, through the connector and theinterface 187.

According to an embodiment of the present disclosure, after theelectronic device 100 is connected to the external power supply device200, the charging control module 181 may control the connector or theinterface 187 to receive the current of the second current value fromthe external power supply device 200 during a first period and toreceive the current of the first current value during a second periodafter the first period. The charging control module 181 may make acontrol to receive the current of a third current value, which isgreater than the first current value, from the external power supplydevice 200 through the connector or the interface 187 during a thirdperiod after the second period. The third current value may be less thanthe second current value. For example, the charging control module 181may control the connector or the interface 187 to receive the current ofthe second current value from the external power supply device 200during the first period after the electronic device 100 is connected tothe external power supply device 200. The charging control module 181may make a control to receive the current of the first current valueless than the second current value during the second period in which theelectronic device 100 and the external power supply device 200communicate with each other after the first period. The charging controlmodule 181 may make a control to receive the current of a third currentvalue, which is greater than the first current value and less than thesecond current value, during a third period after the second period inwhich the power is supplied according to the charging mode aftercommunication.

According to an embodiment of the present disclosure, the chargingcontrol module 181 may detect impedance of an element (for example, thecharging supply control module 220) inside the external power supplydevice 200 after the electronic device 100 is connected to the externalpower supply device 200. The charging control module 181 may performcommunication based on at least a part of the detected impedance. Thecharging control module 181 may perform the communication between theelectronic device 100 and the external power supply device 200 bytransmitting/receiving a signal based on the detected impedance.

According to an embodiment of the present disclosure, the chargingcontrol module 181 may exchange information related to a voltage valueand/or a certain current value required by the electronic device 100with the IC (for example, the charging supply control module 220) of theexternal power supply device 200 through communication.

According to an embodiment of the present disclosure, the chargingcontrol module 181 may set the quick charging mode or the normalcharging mode according to whether the external power supply device 200supports the quick charging.

The charging control module 181 may receive information on an ID, type,or model of the external power supply device 200 from the connectedexternal power supply device 200. The charging control module 181 maydetermine whether the external power supply device 200 supports thequick charging mode by using the received information. When the externalpower supply device 200 supports the quick charging mode, the chargingcontrol module 181 may set the charging mode as the quick charging mode.

According to an embodiment of the present disclosure, the chargingcontrol module 181 may set or change the charging mode according to amode setting input received from the user. The charging control module181 may activate or deactivate the quick charging mode according to theuser input received from the user.

According to an embodiment of the present disclosure, the chargingcontrol module 181 may determine whether the connected external powersupply device 200 supports the quick charging mode. The charging controlmodule 181 may determine whether the external power supply device 200supports the quick charging of the electronic device 100 according to asignal received from the external power supply device 200 through the D+line and the D− line. For example, the external power supply device 200may transmit the signal of the D+ line and the D− line having differentparticular values (for example, voltage values) according to whether theexternal power supply device 200 supports the quick charging mode.Accordingly, based on the signal of the D+ line and the D− line receivedfrom the external power supply device 200, the charging control module181 may determine whether the external power supply device 200 is apower supply device that supports the quick charging or a power supplydevice that does not support the quick charging.

According to an embodiment of the present disclosure, the chargingcontrol module 181 may transmit a first charging power value for thequick charging to the external power supply device 200. In this case,when the charging control module 181 receives an acknowledge messagefrom the external power supply device 200, the external power supplydevice 200 may set a charging mode as the quick charging mode. Forexample, when the charging control module 181 transmits the firstcharging power value to the external power supply device 200, thecharging control module 181 may receive a signal identical to thetransmitted signal from the external power supply device 200 as theacknowledge message. In this case, the charging control module 181 maydetermine that the external power supply device 200 supports the quickcharging mode and supply power corresponding to the transmitted firstcharging power value through the acknowledge message. In this case, thecharging control module 181 may control the battery to be charged in thequick charging mode by transmitting the first charging power value tothe external power supply device 200 again.

The charging control module 181 may set a charging power value andtransmit the set charging power value to the external power supplydevice 200. The charging control module 181 may control to transmit thecharging power value through communication with the external powersupply device 200 and to receive power corresponding to the transmittedcharging power value from the external power supply device 200. Forexample, the charging control module 181 may make a control to transmita greater charging voltage value compared to the normal charging to theexternal power supply device 200 and thus receive greater powercorresponding to the charging voltage value from the external powersupply device 200. The charging control module 181 may control theelectronic device 100 to receive power corresponding to a relativelylarge first charging power value from the external power supply device200 in the quick charging mode and to receive power corresponding to asecond charging power value less than the first charging power value inthe normal charging mode. In this case, the charging control module 181may determine whether power corresponding to the set charging powervalue is supplied from the external power supply device.

According to an embodiment of the present disclosure, the chargingcontrol module 181 may limit the power supplied from the external powersupply device 200 to a certain value or less during the communicationbetween the electronic device 100 and the external power supply device200. For example, the charging control module 181 may limit the voltageand current of the supplied power to a certain value during thecommunication between the electronic device 100 and the external powersupply device 200.

According to an embodiment of the present disclosure, when the powersupplied from the external power supply device 200 does not correspondto the preset and transmitted charging power value, the charging controlmodule 181 may initialize and reset the charging mode.

When the power supplied from the external power supply device 200 doesnot correspond to the set and transmitted charging power value, thecharging control module 181 may determine that there is an error in thecommunication with the external power supply device 200 or the system(for example, at least one of the components of the electronic device).According to an embodiment of the present disclosure, the chargingcontrol module 181 may force a positive line (D+ line) of the interfaceconnected to the external power supply device 200 to drop from high tolow in order to perform re-communication with the external power supplydevice 200. In this case, the positive line and a negative line (D−line) of the interface short-circuit. Thereafter, an interrupt isremoved and a communication state with the external power supply device200 may be initialized while the negative line temporarily becomes highand then operates in low.

According to an embodiment of the present disclosure, when the voltageof the external power supply device 200 becomes less than a presetvalue, the charging control module 181 may initialize the charging modeand setting and reattempt the charging.

According to an embodiment of the present disclosure, when power issupplied from the external power supply device 200, a fold-backphenomenon may occur in which the voltage of the VBUS switches to asecond voltage less than a first voltage for the quick charging. In thiscase, the charging control module 181 may initialize and reset thecharging mode.

According to an embodiment of the present disclosure, the chargingcontrol module 181 may determine whether a particular function of theelectronic device 100 is performed in the quick charging mode. When theparticular function is performed, the charging control module 181 maychange the charging mode from the quick charging mode to the normalcharging mode. According to an embodiment of the present disclosure,when a particular user function is performed in the quick charging mode,the charging control module 181 may stop charging the battery 190 for acertain time. When the particular user function is performed in thequick charging mode, the charging control module 181 may limit acharging power value to a certain value or less while maintaining thecharging mode. In another example, the charging control module 181 maydetermine whether the screen of the electronic device 100 is turned off.The charging control module 181 may make a control to conduct the quickcharging only when the screen of the electronic device 100 is turnedoff.

The power management module 183 may include a PMIC, and a charger IC.For example, the PMIC may be mounted within, for example, an integratedcircuit or an SoC semiconductor. The charging methods may be classifiedinto wired charging and wireless charging. The charger IC may charge thebattery 190 and prevent introduction of over-voltage or over-currentfrom a charger. According to one embodiment of the present disclosure,the charger IC may include a charger IC for at least one of the wiredcharging method and the wireless charging method. A magnetic resonancescheme, a magnetic induction scheme, or an electromagnetic scheme may beexemplified as the wireless charging method, and an additional circuitfor wireless charging, such as a coil loop circuit, a resonance circuit,a rectifier circuit, and the like, may be added. According to variousembodiments of the present disclosure, the PMIC or the charger IC mayinclude an electromagnetic wave shielding device for shielding anelectromagnetic wave around the PMIC or the charger IC. For example, thepower management module 183 (for example, the PMIC or the charger IC)may include a shield can in a frame form.

According to an embodiment of the present disclosure, the powermanagement module 183 may control power supplied through the interface187 or power input into/output to the battery 190 based on the setcharging mode. The power management module 183 may determine whetherpower corresponding to the set charging power value is supplied from theexternal power supply device.

The electromagnetic wave shield unit 185 may be connected to theinterface and the power management module 183 on a VBUS line. Theelectromagnetic wave shield unit 185 may include at least one beads or afilter. The electromagnetic wave shield unit 185 may shield noisegenerated by a power supply. The electromagnetic wave shield unit 185may reduce electromagnetic interference (EMI) noise which may begenerated according to a charging operation of the battery 190 of theelectronic device. The electromagnetic wave shield unit 185 is not anecessary component of the electronic device 100 and may be omitted.

The controller 140 may control a plurality of hardware components (forexample, the display unit 110, the input unit 120, the sensor unit 130,the communication unit 150, and the storage unit 160) or softwarecomponents by driving an operating system or an application program, andperform processing of various types of data including multimedia dataand calculations. More particularly, the controller 140 may control thecharging and other functions performed by the electronic device 100 bycontrolling the general operation of the electronic device 100 and theoperation of the power management unit and the interface. According toan embodiment of the present disclosure, the controller 140 may be an APor a CP.

The battery 190 may store or generate electricity and may supply powerto the electronic device 100 by using the stored or generatedelectricity.

The external power supply device 200 may include an interface 210 and acharging supply control module 220. The external power supply device 200according to various embodiments of the present disclosure may supportat least one charging modes (for example, the quick charging mode or thenormal charging mode). The external power supply device 200 may beconnected to an external power supply 1. The external power supply 1 maybe an AC power supply. The external power supply device 200 may convertpower supplied from the external power supply and supply the power tothe connected electronic device 100 through the interface 210.

The external power supply device 200 may include an IC that communicateswith the electronic device 100. The IC of the external power supplydevice 200 may control power supply according to the charging mode basedon the communication with the electronic device 100. The IC of theexternal power supply device 200 may include at least one modules.According to an embodiment of the present disclosure, the IC of theexternal power supply device 200 may be the charging supply controlmodule 220.

The interface 210 may be connected to an external electronic device andmay supply power to the external electronic device. The interface 210may include, for example, a HDMI, an USB, an optical interface, or aD-sub. The interface 210 may include, for example, a MHL interface, anSD card/MMC interface, or an IrDA interface.

The charging supply control module 220 may communicate with theelectronic device 100. The charging supply control module 220 may make acontrol to supply the current of a first current value to the electronicdevice 100 during at least a part of the communication between theelectronic device 100 and the external power supply device 200 and tosupply the current of a second current value greater than the firstcurrent value to the electronic device 100 during at least a part inwhich the communication is not performed.

According to an embodiment of the present disclosure, the chargingsupply control module 220 may make a control to receive a charging powervalue from the electronic device 100 and to supply power correspondingto the charging power value to the electronic device 100. When acharging power value including a particular voltage value is receivedfrom the electronic device 100, the charging supply control module 220may determine whether the charging supply control module 220 can supplythe power corresponding to the charging power value. When the powercorresponding to the received charging power value can be supplied, thecharging supply control module 220 may transmit an acknowledge messageto the electronic device 100. For example, the charging supply controlmodule 220 may transmit a signal having a value identical to thereceived charging power value to the electronic device 100 as theacknowledge message. According to an embodiment of the presentdisclosure, when the charging supply control module 220 receives thecharging power value again from the electronic device 100 in response tothe acknowledge message, the charging supply control module 220 may makea control to supply power corresponding to the received charging powervalue to the electronic device 100.

According to an embodiment of the present disclosure, the chargingsupply control module 220 and the charging control module 181 of theelectronic device 100 may be implemented as the same modules forcontrolling the quick charging. According to an embodiment of thepresent disclosure, the charging supply control module 220 and thecharging control module 181 may perform all corresponding functions asthe same modules according to whether the electronic device 100 or theexternal power supply device 200 is the side that supplies power or theside that receives the power.

FIG. 3 illustrates signals for controlling charging of an electronicdevice and a charging control method according to an embodiment of thepresent disclosure.

Referring to FIG. 3 , a timing diagram of signals which the electronicdevice 100 and the external power supply device 200 transmit to controlthe charging is illustrated, which shows changes in the signalsaccording to a chronological sequence.

Referring to FIG. 3 , GND refers to a ground line, D+ refers to apositive line, D− refers to a negative line, and VBUS refers to a powerline.

According to an embodiment of the present disclosure, the electronicdevice 100 is connected to the external power supply device 200 in aninterval 310. When the electronic device 100 is connected to theexternal power supply device 200, the electronic device 100 may receivepower (for example, power of 5 V) from the external power supply device200 through the VBUS line. According to an embodiment of the presentdisclosure, when the power is supplied from the external power supplydevice 200 through the VBUS line, the electronic device 100 maydetermine that the external power supply device 200 is connected to theelectronic device 100. According to an embodiment of the presentdisclosure, when a change in a signal of the D+ line and the D− linestarts, the electronic device 100 may determine that the external powersupply device 200 is connected to the electronic device 100.

The electronic device 100 may receive a particular signal from theexternal power supply device 200 through the D+ line and the D− line inan interval 320. The electronic device 100 may determine a type of theexternal power supply device 200 based on the signal received from theexternal power supply device 200. The electronic device 100 maydetermine whether the connected external device is a power supply devicefor supplying power or a device for another purpose according to thesignal received from the external power supply device 200 through the D+line and the D− line. For example, the electronic device 100 maydetermine whether the external device connected through the interface187 is a device only for the charging or a device for both the datacommunication and the charging. According to an embodiment of thepresent disclosure, the electronic device 100 may determine whether theexternal device connected to the interface is a dedicated charging port(DCP) or a standard downstream port (SDP) based on the signal receivedfrom the external power supply device 200. For example, the electronicdevice 100 may determine whether the connection of the external powersupply device 200 is a DCP connection for the quick charging (or fastcharging) or an SDP connection for both the data communication and thecharging.

According to an embodiment of the present disclosure, the electronicdevice 100 may detect a change in the signal of the D+ line and the D−line from low to high. In this case, the electronic device 100 maydetect a change in the signal of the D+ line and the D− line from low tohigh and determine that the external power supply device 200 is thepower supply device. Thereafter, the signal of the D+ line may remain inhigh after a certain time from the change in the signal from high tolow. The signal of the D− line may maintain the low state after thechange in the signal from high to low. According to an embodiment of thepresent disclosure, when the signal of the D+ line becomes low, the D+line and a D− line instantaneously short-circuit. Thereafter, aninterrupt is removed and the state may be reset to an initial state forcommunication between the electronic device 100 and the external powersupply device 200 while the D− line temporarily becomes high and thenoperates in low.

The electronic device 100 may detect the connection of the externalpower supply device 200 and prepare communication with the externalpower supply device 200 in an interval 330.

When the connected external power supply device 200 supports the quickcharging mode, the electronic device 100 may determine a power valuewhich can be supplied by the external power supply device 200 in aninterval 340. For example, the electronic device 100 may transmit thecharging power value by controlling the signal of the D− line whilemaintaining the signal of the D+ line in the high state. Thereafter, theexternal power supply device 200 may transmit an acknowledge message tothe electronic device 100 in the same way. For example, the externalpower supply device 200 may transmit a signal identical to the receivedcharging power value to the electronic device 100 as the acknowledgemessage.

According to an embodiment of the present disclosure, when the signalidentical to the transmitted charging power value from the power supplydevice is received, the electronic device 100 may determine that theexternal power supply device 200 can supply the transmitted chargingpower value in the quick charging mode. For example, the electronicdevice 100 may transmit a charging power value including a voltage valueof 20 V to the external power supply device 200. In this case, whenpower supply of 20 V is not supported, the external power supply device200 may not transmit the acknowledge message. Alternatively, theexternal power supply device 200 may transmit a signal indicating thatthe power supply of the corresponding voltage is not supported to theelectronic device 100. When the electronic device 100 transmits thecharging power value including a voltage value of 12 V to the externalpower supply device 200, if the power supply of 12 V is supported, theexternal power supply device 200 may transmit a signal having the samevalue as the received charging power value to the electronic device 100as the acknowledge message. In this case, the electronic device 100 mayidentify that the external power supply device 200 supports the powersupply of 12 V according to the received acknowledge message and receivepower corresponding to the charging power value of 12 V from theexternal power supply device 200.

According to an embodiment of the present disclosure, when it isdetermined that the external power supply device 200 can supply thepower corresponding to the corresponding charging power value, theelectronic device 100 may transmit the same charging power value onceagain. In the interval 340, the external power supply device 200 maystart supplying the power corresponding to the charging power valuereceived from the electronic device 100 to the electronic device 100.For example, the external power supply device 200 may change the powerof 5 V supplied to the electronic device 100 into the power of 9 Vthrough the VBUS.

After the interval 340, the electronic device 100 may receive higherpower from the external power supply device 200 in the quick chargingmod compared to the normal charging mode and thus charge the batteryquickly.

According to various embodiments of the present disclosure, theelectronic device 100 may receive the current of a first current valuefrom the external power supply device 200 during the communication withthe external power supply device 200 and receive the current of a secondcurrent value greater than the first current value during a period inwhich the communication is not performed. The electronic device 100 mayreceive the current of the second current value from the external powersupply device 200 during a first period after the external power supplydevice 200 is connected, receive the current of the first current valueduring a second period after the first period, and receive the currentof a third current value, which is greater than the first current valueand less than the second current value, during a third period after thesecond period. For example, the electronic device 100 may receive thecurrent of the second current value from the external power supplydevice 200 in the interval 310, receive the current of the first currentvalue in the intervals 320 to 340 in which the communication with theexternal power supply device 200 is performed, and receive the currentof the third current value in intervals after the interval 340. However,according to various embodiments of the present disclosure, intervals inwhich the current value changes are not limited to the above intervals,and other intervals may be set according to an embodiment.

FIG. 4 is a flowchart illustrating a charging control method of anelectronic device according to various embodiments of the presentdisclosure.

Referring to FIG. 4 , in operation 410, the electronic device 100 maydetect a connection of the external power supply device 200. Forexample, when the external power supply device 200 is connected, theelectronic device 100 may receive a signal from the external powersupply device 200 to detect the connection. The electronic device 100may detect the connection of the external power supply device 200through the detection of power supply from the external power supplydevice 200.

According to an embodiment of the present disclosure, when the externalpower supply device 200 is connected, the electronic device 100 mayinitialize the charging mode setting in order to initialize acommunication environment with the external power supply device 200.According to an embodiment of the present disclosure, when the externalpower supply device 200 is connected, the electronic device 100 maylimit the current received from the external power supply device 200 toa preset value before the charging mode is set. For example, when theelectronic device 100 receives power of 1.8 A in the normal chargingmode and receives power of 1.67 A in the quick charging mode, theelectronic device 100 may limit the received current to a low value of 1A for a certain time after the external power supply device 200 isconnected in operation 410.

In operation 420, the electronic device 100 may determine whether theexternal power supply device 200 supports at least two charging modes(for example, the quick charging mode or the normal charging mode). Theelectronic device 100 may determine whether the external power supplydevice 200 supports the quick charging mode. The quick charging mode maybe a mode in which the external power supply device 200 supplies powerto the electronic device 100 by using a charging voltage greater thanthe normal charging voltage or a charging current less than the normalcharging current. For example, the external power supply device 200,which supports the quick charging mode, may communicate with theelectronic device 100. For example, the external power supply device 200may receive a charging current value, a charging voltage value, or acharging power value from the electronic device 100 and supply powercorresponding thereto. The electronic device 100 may receive informationon an ID, type, or model of the external power supply device 200 fromthe connected external power supply device 200. According to anembodiment of the present disclosure, the electronic device 100 maydetermine whether the connected external device is a power supply deviceor a device for another purpose based on the received information. Theelectronic device 100 may determine whether the external power supplydevice 200 supports the quick charging mode based on the receivedinformation.

According to an embodiment of the present disclosure, the electronicdevice 100 may transmit a first charging power value for the quickcharging to the external power supply device 200. The electronic device100 may receive an acknowledge message from the external power supplydevice 200 in response to the transmitted first charging power value.The acknowledge message may be a signal having the same value as thefirst charging power value. The electronic device 100 may determinewhether the external power supply device 200 supports the quick chargingmode or the external power supply device 200 can supply powercorresponding to the transmitted first charging power value based on theacknowledge message received from the external power supply device 200.

According to an embodiment of the present disclosure, in operation 420,the electronic device 100 may communicate with the external power supplydevice 200 by using the current of a less current value than that inoperation 410.

When the external power supply device 200 supports the quick chargingmode, the electronic device 100 may perform operation 430. When theexternal power supply device 200 does not support the quick chargingmode, the electronic device 100 may perform operation 440.

In operation 430, the electronic device 100 may charge the battery 190in the quick charging mode. For the quick charging, the electronicdevice 100 may transmit the first charging power value greater than thesecond charging power value, which is received in the normal chargingmode, to the external power supply device 200. The electronic device 100may receive power corresponding to the transmitted first charging powervalue from the external power supply device 200 and charge the battery190 quickly.

According to various embodiments of the present disclosure, theelectronic device 100 may display a screen for selecting a charging modefrom the user in operation 430. For example, the electronic device 100may display the screen for selecting the charging mode in the entirearea of the display unit 110 or display a popup window for selecting thecharging mode. For example, when the external power supply device 200 isconnected, the electronic device 100 may display the screen forselecting the charging mode including a message of “Do you want quickcharging?”. The electronic device 100 may receive a mode selection inputfrom the user. The electronic device 100 may set the charging modeaccording to the mode selection input of the user. For example, when theelectronic device 100 receives a mode selection input for the normalcharging mode from the user, the battery 190 may be charged in thenormal charging mode although the connected external power supply device200 supports the quick charging mode.

According to an embodiment of the present disclosure, the electronicdevice 100 may control the charging to be performed in the quickcharging mode only in a state where the screen of the display unit 110of the electronic device 100 is turned off. For example, the electronicdevice 100 may charge the battery 190 in the quick charging mode in thestate where the screen is turned off and charge the battery 190 in thenormal charging mode in a state where the screen is turned on.

According to an embodiment of the present disclosure, the electronicdevice 100 may receive the current greater than the current during thecommunication in operation 420 from the external power supply device 200while the electronic device 100 does not communicate with the externalpower supply device 200 (for example, while only the charging isperformed).

In operation 440, the electronic device 100 may charge the battery 190in the normal charging mode. The normal charging mode may be a mode inwhich the battery 190 is charged according to a preset second chargingpower value. For example, the electronic device 100 may receive powercorresponding to a preset rated voltage value or rated current valuefrom the external power supply device 200.

According to an embodiment of the present disclosure, the electronicdevice 100 may display a user interface which displays a charging modeand a degree of the charging of the battery 190 during the charging. Forexample, the user interface may be a dynamically varying user interfacehaving different change speeds according to the charging mode.

According to an embodiment of the present disclosure, the electronicdevice 100 may make a control to receive the current of a first currentvalue from the external power supply device 200 during at least a partof the communication in which the electronic device 100 exchanges aparticular signal or information with the external power supply device200 and to receive the current of a second current value greater thanthe first current value from the external power supply device 200 duringat least a part in which the communication is not performed. Forexample, the electronic device 100 may transmit/receive a signal to/fromthe external power supply device 200 by using the current of the firstcurrent value during the communication and transmit/receive a signal orpower by using the current of the second current value greater than thefirst current value during the part in which the communication is notperformed.

FIG. 5 is a flowchart illustrating an operation in a quick charging modein a charging control method of an electronic device according tovarious embodiments of the present disclosure.

Referring to FIG. 5 , in operation 510, the electronic device 100 mayset a charging power value (a charging current value or a chargingvoltage value). The charging power value may be a set value of the sizeof power to be supplied when the power is supplied from the externalpower supply device 200. For example, the electronic device 100 may setthe power to be supplied from the external power supply device 200 as 15W (9 V and 1.67 A) in the quick charging mode and set the power as 10 W(5.3 V and 2 A) in the normal charging mode. For the quick charging, theelectronic device 100 may set, as the charging power value, a voltagevalue greater than the rated voltage which is generally used and acertain current value less than the rated current to quickly charge thebattery 190. According to an embodiment of the present disclosure, theelectronic device 100 may receive higher power by using the relativelyhigh voltage and low current in the quick charging, and thus prevent anIR drop which may be generated in a process in which the power istransferred from the external power supply device 200 to the batterycharging IC.

In operation 520, the electronic device 100 may transmit the chargingpower value to the external power supply device 200. The electronicdevice 100 may transmit the charging power value to the external powersupply device 200 through the interface 187. The electronic device 100may transmit the charging power value to the external power supplydevice 200 through the communication unit 150 in a wired or wirelessmanner. According to an embodiment of the present disclosure, theelectronic device 100 may control power supplied with the secondcharging power value less than the first charging power value used inthe quick charging while the electronic device 100 communicates with theexternal power supply device 200. For example, the electronic device 100may prevent a communication malfunction by limiting the current to besupplied to a certain value or less while the electronic device 100communicates with the external power supply device 200.

In operation 530, the electronic device 100 may receive powercorresponding to the charging power value from the external power supplydevice 200. The electronic device 100 may determine whether the powersupplied from the external power supply device 200 corresponds to thecharging power value. For example, the electronic device 100 maydetermine whether the power supplied from the external power supplydevice 200 corresponds to the charging power value. When the powersupplied from the external power supply device 200 is different from thetransmitted charging power value by a certain reference, the electronicdevice 100 may transmit the desired charging power value to the externalpower supply device 200 again. When the power supplied from the externalpower supply device 200 is still different from the charging powervalue, the electronic device 100 may initialize and reset the setting ofthe charging mode. For example, when it is determined that there is anerror in the supplied power, the electronic device 100 may stop thecharging and initialize all settings, and reattempt the chargingoperation.

FIG. 6 is a flowchart illustrating a method of supplying power by anexternal power supply device according to various embodiments of thepresent disclosure. The external power supply device 200 refers to theexternal power supply device 200 which can be connected to theelectronic device 100.

Referring to FIG. 6 , in operation 610, the external power supply device200 may be connected to the electronic device 100 through the interface.When the external power supply device 200 is connected to the electronicdevice, the external power supply device 200 may provide power suppliedthrough the external power supply to the electronic device 100 throughthe VBUS. The external power supply device 200 may supply power to theelectronic device 100 as a preset rated power value before the externalpower supply device 200 receives a charging power value from theelectronic device. The external power supply device 200 may receive thecharging power value from the connected electronic device. According tovarious embodiments of the present disclosure, the external power supplydevice 200 may receive the charging power value from the electronicdevice 100 in a wired or wireless manner.

When the external power supply device 200 can perform the quick chargingmode, the external power supply device 200 may transmit an acknowledgemessage to the electronic device 100 in operation 620. According to anembodiment of the present disclosure, the external power supply device200 may transmit a signal having the same value as the received chargingpower value to the electronic device 100 as the acknowledge message. Theexternal power supply device 200 may receive the charging power valuefrom the electronic device 100 again after transmitting the acknowledgemessage.

According to an embodiment of the present disclosure, the external powersupply device 200 may determine whether the external power supply device200 can supply power corresponding to the received charging power value.When the external power supply device 200 can supply the powercorresponding to the received charging power value, the external powersupply device 200 may transmit a signal identical to the receivedcharging power value to the electronic device 100 as the acknowledgemessage. When the external power supply device 200 receives the chargingpower value again from the electronic device 100 in response to theacknowledge message, the external power supply device 200 may performoperation 630.

In operation 630, the external power supply device 200 may supply powercorresponding to the received charging power value to the electronicdevice. For example, the external power supply device 200 may supply thepower corresponding to the charging power value to the electronic device100 instead of the power supplied according to the existing rated powervalue or the previously received power charging value.

According to an embodiment of the present disclosure, the external powersupply device 200 may supply the current of a first current value to theelectronic device 100 during at least a part of the communication inwhich the external power supply device 200 exchanges a particular signalor information with the electronic device 100 and supply the current ofa second current value greater than the first current value during atleast a part in which the communication is not performed. For example,the external power supply device 200 may transmit/receive a signalto/from the electronic device 100 by using the current of the firstcurrent value during the communication and transmit/receive a signal orpower by using the current of the second current value greater than thefirst current value during the period in which the communication is notperformed.

FIG. 7 is a flowchart illustrating a charging control method of anelectronic device according to various embodiments of the presentdisclosure.

Referring to FIG. 7 , in operation 710, the electronic device 100 maydetect a connection of the external power supply device 200. Forexample, when the electronic device 100 receives a signal or power fromthe external power supply device 200, it is determined that the externalpower supply device 200 is connected to the electronic device 100.

In operation 720, the electronic device 100 may determine whether theexternal power supply device 200 supports the quick charging mode. Whenthe external power supply device 200 supports the quick charging mode,the electronic device 100 may perform operation 730. When the externalpower supply device 200 does not support the quick charging mode, theelectronic device 100 may perform operation 790.

In operation 730, the electronic device 100 may set the charging mode asthe quick charging mode. The electronic device 100 may charge thebattery 190 in the quick charging mode. The electronic device 100 maytransmit a first charging power value set for the quick charging to theexternal power supply device 200. The electronic device 100 may receivepower corresponding to the transmitted first charging power value fromthe external power supply device 200 and charge the battery 190.

In operation 740, the electronic device 100 may determine whether theelectronic device 100 malfunctions. For example, the electronic device100 may detect the malfunction of the system (for example, at least oneof the components of the electronic device 100). For example, when theelectronic device 100 overloads the system or stops the operation, theelectronic device 100 may detect a bad connection of the connector orthe interface 187 due to foreign substances, a short circuit due tomoisture, corrosion, or a bad connection due to connector separation.When the malfunction of the system is detected, the electronic device100 may perform operation 750. When no malfunction of the system isdetected, the electronic device 100 may perform operation 760.

In operation 750, the electronic device 100 may initialize the chargingmode setting. For example, the electronic device 100 may stop thecharging and initialize the charging mode setting. According to anembodiment of the present disclosure, the electronic device 100 may stopthe charging and end all functions being used. After initializing thesetting, the electronic device 100 may perform a function of chargingthe battery 190 again starting from operation 720. According to anembodiment of the present disclosure, when it is determined that thecharging of the battery in the quick charging mode is not possible dueto the generation of repeated system errors or other errors (forexample, the system overload, the operation stoppage, the bad connectionof the connector or the interface 187 due to foreign substances, theshort circuit due to moisture, corrosion, or the bad connection due toconnector separation), the electronic device 100 may charge the battery190 in the normal charging mode. For example, when the electronic device100 initializes the charging mode setting repeatedly a preset number oftimes or more during the charging, the electronic device 100 may chargethe battery 190 in the normal charging mode.

In operation 760, the electronic device 100 may determine whether thereis an error in power supplied from the external power supply device 200.For example, the electronic device 100 may set the power supplied fromthe external power supply device 200 in the quick charging mode andcompare the power with a transmitted first charging power value. Whenthe supplied power is different from the first charging power value, theelectronic device 100 may determine that there is an error in the powersupplied from the external power supply device 200. In the quickcharging mode, the electronic device 100 may receive relatively largepower from the external power supply device 200 and charge the battery190 quickly. In this case, when the electronic device 100 receives thepower different from the set first charging power value, the electronicdevice 100 may determine that the quick charging has not happened. Whenit is determined that there is the error in the supplied power, theelectronic device 100 may perform operation 750. When it is determinedthat there is no error in the supplied power, the electronic device 100may perform operation 770.

In operation 770, the electronic device 100 may determine whether aparticular user function is performed. When the particular user functionand the quick charging are simultaneously performed, the electronicdevice 100 may be excessively heated or may be overloaded, or theelectronic device 100 or the battery 190 may be damaged. The electronicdevice 100 may prevent another user function from being performed in thequick charging mode during the charging. For example, when a particularuser function is performed in the quick charging mode, the electronicdevice 100 may perform operation 790. According to an embodiment of thepresent disclosure, when a particular user function is performed in thequick charging mode, electronic device 100 may stop charging the battery190 for a certain time. When the particular user function is performedin the quick charging mode, the electronic device 100 may make a controlto receive power corresponding to a second charging power value lessthan a preset first charging power value. For example, when theparticular user function is performed while the power corresponding tothe first charging power value is supplied, the electronic device 100may transmit the second charging power value less than the firstcharging power value to the external power supply device 200.Thereafter, the electronic device 100 may receive power corresponding tothe second charging power value from the external power supply device200 until the performing of the particular user function ends. When theparticular user function ends, the electronic device 100 may make acontrol to receive the power corresponding to the first charging powervalue again.

For example, the electronic device 100 may determine whether a callfunction is performed in the quick charging mode during the charging.The electronic device 100 may switch the charging mode from the quickcharging mode to the normal charging mode until the call function ends.After the call function ends, the electronic device 100 may switch thecharging mode again from the normal charging mode to the quick chargingmode.

According to another example, the electronic device 100 may determinewhether a message function is performed in the quick charging modeduring the charging. The electronic device 100 may switch the chargingmode from the quick charging mode to the normal charging mode while themessage function is used.

In operation 780, the electronic device 100 may maintain the quickcharging mode. The electronic device 100 may charge the battery 190 inthe quick charging mode.

In operation 790, the electronic device 100 may charge the battery 190in the normal charging mode. The normal charging mode may be a mode inwhich the battery 190 is charged according to a preset rated voltagevalue or rated current value. For example, the electronic device 100 mayreceive power corresponding to the preset rated voltage value or ratedcurrent value from the external power supply device 200.

FIGS. 8A, 8B, and 8C illustrate a user interface that displays acharging mode in an electronic device and a charging control method ofthe electronic device according to various embodiments of the presentdisclosure.

Referring to FIG. 8A, a case where the electronic device 100 (forexample, a portable terminal) is charged in the quick charging mode in astate where the electronic device 100 is turned off is illustrated. Whenthe electronic device 100 is charged in the quick charging mode whilethe electronic device 100 is turned off, the electronic device 100 maydisplay a user interface 810 a or 820 a indicating that the quickcharging is performed. For example, the electronic device 100 may alsodisplay a battery picture indicating that the charging is beingperformed, a value indicating a charging level, and a phrase indicatinga charging mode (for example, “quick charging mode” or “adaptive fastcharging”) 820 a.

According to an embodiment of the present disclosure, the electronicdevice 100 may display a dynamically varying interface 820 a, whichindicates that the battery is being charged, under the displayed batteryindication 810 a. For example, the electronic device 100 may display auser interface 820 b in which water drops or bubble shapes move in adirection of the battery indication 810 b. According to an embodiment ofthe present disclosure, the dynamically varying interface 820 a is notstandardized, and may have various different forms (for example, variousshapes, sizes, movement directions, movement traces, movement speeds,colors, and the like). The electronic device 100 may display differentamounts or movement speeds of the water drops or bubble shapes accordingto charging mode. For example, the electronic device 100 may allow theuser to intuitively determine the charging mode by making the amount orrange of the varying user interface 820 a greater or making the movementspeed of the varying user interface 820 a faster in the quick chargingmode compared to the normal charging mode.

Referring to FIG. 8B, a case where the electronic device 100 (forexample, a portable terminal) is charged in the normal charging mode ina state where the electronic device 100 is turned off is illustrated.When the electronic device 100 is charged in the normal charging modewhile the electronic device 100 is turned off, the electronic device 100may display a user interface 810 b or 820 b indicating that the normalcharging is being performed. For example, the electronic device 100 maydisplay a battery picture 810 b indicating a charging level andindicating that the charging is being performed.

According to an embodiment of the present disclosure, the electronicdevice 100 may display a dynamically varying user interface 820 b whichindicates that the battery is being charged, under the displayed batteryindication 810 b. For example, the electronic device 100 may display auser interface 820 b in which water drops or bubble shapes move in adirection of the battery indication 810 b. Alternatively, the electronicdevice 100 may not display the varying user interface 820 b in thenormal charging mode, so as to distinguish the normal charging mode fromthe quick charging mode.

Referring to FIG. 8C, a case where the electronic device 100 is beingcharged in a state where the electronic device 100 is turned on isillustrated. The electronic device 100 may display a user interface 810c indicating that the charging is being performed in a state displayarea on an upper part of the screen while the electronic device 100 isturned on. The electronic device 100 may display the user interface 810c indicating the charging mode. For example, the electronic device 100may also display a lightning shaped picture indicating that the chargingis being performed and a phrase indicating a charging mode (for example,“quick charging mode” or “adaptive fast charging”) 810 c.

FIG. 9 illustrates a result of measurement of noise generated anoperation of charging an electronic device and a charging control methodof the electronic device according to various embodiments of the presentdisclosure.

Referring to FIG. 9 , noise radiation generated when the battery 190 ischarged may be different according to the quick charging mode or thenormal charging mode based on the electronic device 100 and the chargingcontrol method of the electronic device 100. For example, when theelectronic device 100 receives high power from the external power supplydevice 200, greater noise may be generated.

Accordingly, in order to address the above issue, the electronic device100 according to various embodiments of the present disclosure mayinclude an electromagnetic wave shielding device, such as a shield can,around the power management unit 180 (for example, the power managementmodule 183). Further, the power management unit 180 may include theelectromagnetic wave shield unit 185 on a power line that is connectedto the power management module 183 to supply power. The electromagneticwave shield unit 185 may include at least one beads. According to anembodiment of the present disclosure, the electronic device 100 mayinclude an AC filter before and after an input terminal (connectionunit) of the interface 187 connected to the external power supply device200. For example, according to various embodiments of the presentdisclosure, even when the electronic device 100 is charged with higherpower in the quick charging mode, radiated noise and EMI can be reduced.

FIG. 10 illustrates a charging system according to an embodiment of thepresent disclosure.

Referring to FIG. 10 , an example of an eco-system in which variouselectronic devices interwork with each other according to variousembodiments of the present disclosure is illustrated.

According to various embodiments of the present disclosure, theelectronic device 100 or the external power supply device 200 mayinclude various electronic devices using power. For example, theelectronic device 100 or the external power supply device 200 may be oneof various types of electronic devices including an adaptive TA, atablet, a portable terminal, a personal computer (PC), a television(TV), a remote control, and an electronic accessory (for example, a carcharger, a docking station, and the like).

Referring to FIG. 10 , the various types of electronic devices mayoperate as the electronic device 100 or the external power supply device200 according to various embodiments of the present disclosure. Forexample, when a PC and a portable terminal are connected to each other,the PC may perform the functions of the external power supply device 200and the portable terminal may perform the functions of the electronicdevice 100. When an electronic accessory, such as a car charger, isconnected to the portable terminal, the electronic accessory may performthe functions of the external power supply device 200 and the portableterminal may perform the functions of the electronic device 100.According to various embodiments of the present disclosure, varioustypes of electronic devices may interwork with other electronic devicesand perform the functions of the electronic device 100 or the externalpower supply device 200 depending on situations, thereby implementingthe charging system including various combinations which supports thequick charging mode.

Certain aspects of the present disclosure can also be embodied ascomputer readable code on a non-transitory computer readable recordingmedium. A non-transitory computer readable recording medium is any datastorage device that can store data which can be thereafter read by acomputer system. Examples of the non-transitory computer readablerecording medium include a Read-Only Memory (ROM), a Random-AccessMemory (RAM), Compact Disc-ROMs (CD-ROMs), magnetic tapes, floppy disks,and optical data storage devices. The non-transitory computer readablerecording medium can also be distributed over network coupled computersystems so that the computer readable code is stored and executed in adistributed fashion. In addition, functional programs, code, and codesegments for accomplishing the present disclosure can be easilyconstrued by programmers skilled in the art to which the presentdisclosure pertains.

At this point it should be noted that the various embodiments of thepresent disclosure as described above typically involve the processingof input data and the generation of output data to some extent. Thisinput data processing and output data generation may be implemented inhardware or software in combination with hardware. For example, specificelectronic components may be employed in a mobile device or similar orrelated circuitry for implementing the functions associated with thevarious embodiments of the present disclosure as described above.Alternatively, one or more processors operating in accordance withstored instructions may implement the functions associated with thevarious embodiments of the present disclosure as described above. Ifsuch is the case, it is within the scope of the present disclosure thatsuch instructions may be stored on one or more non-transitory processorreadable mediums. Examples of the processor readable mediums include aROM, a RAM, CD-ROMs, magnetic tapes, floppy disks, and optical datastorage devices. The processor readable mediums can also be distributedover network coupled computer systems so that the instructions arestored and executed in a distributed fashion. In addition, functionalcomputer programs, instructions, and instruction segments foraccomplishing the present disclosure can be easily construed byprogrammers skilled in the art to which the present disclosure pertains.

While the present disclosure has been shown and described with referenceto various embodiments thereof, it will be understood by those skilledin the art that various changes in form and details may be made thereinwithout departing from the spirit and scope of the present disclosure asdefined by the appended claims and their equivalents.

What is claimed is:
 1. An electronic device comprising: a touchscreendisplay; a processor; a battery; a connector configured to beelectrically connected with an external power supply device, theconnector including a universal serial bus (USB) interface including aD+ line and a D− line; and charging circuitry electrically connectedwith the processor and the connector, the charging circuitry configuredto: based at least in part on a determination that the electronic deviceis connected with the external power supply device via the connector,obtain a first charging power from the external power supply device viathe connector, the first charging power having a first voltage and afirst current, after the first charging power is obtained from theexternal power supply device, receive a second current lower than thefirst current from the external power supply device via the connectorwhile a communication is performed between the electronic device and theexternal power supply device via at least one line of the D+ line or theD− line, after the communication, obtain a second charging power higherthan the first charging power from the external power supply device viathe connector, the second charging power having a second voltage higherthan the first voltage and a third current higher than the secondcurrent, and charge the battery using the second charging power.
 2. Theelectronic device of claim 1, wherein the communication is performed byrepeatedly changing a first signal corresponding to a first line of theD+ line and the D− line between a first level and a second level while asecond signal corresponding to a second line of the D+ line and the D−line is maintained at a substantially same level.
 3. The electronicdevice of claim 2, wherein the first level corresponds to one state of ahigh state or a low state and the second state corresponds to anotherstate of the high state or the low state.
 4. The electronic device ofclaim 1, wherein the third current is lower than the first current. 5.The electronic device of claim 1, wherein the charging circuitry iscapable of supporting a plurality of charging modes including a firstcharging mode corresponding to the first charging power and a secondcharging mode corresponding to the second charging power, and whereinthe processor is configured to: transition from the first charging modeto the second charging mode after the first charging power is obtainedby the charging circuitry in the first charging mode and before thesecond charging power is obtained by the charging circuitry in thesecond charging mode.
 6. The electronic device of claim 5, whereinprocessor is further configured to, based at least in part on adetermination that a specified function is performed while the secondcharging power is obtained from the external power supply device,control the charging circuitry to obtain a third charging power lowerthan the second charging power from the external power supply device andcharge the battery using the third charging power.
 7. The electronicdevice of claim 6, wherein the processor is further configured to: basedat least in part on a determination that the specified function isterminated while the third charging power is obtained from the externalpower supply device, control the charging circuitry to obtain the secondcharging power from the external power supply device and charge thebattery using the second charging power.
 8. The electronic device ofclaim 6, wherein the specified function includes at least one of a callfunction, a message function, a game function, or a multimediareproduction function.
 9. The electronic device of claim 1, wherein theprocessor is configured to: display, via the touchscreen display, afirst user interface corresponding to the first charging mode at leasttemporarily while the first charging power is obtained, the first userinterface including one or more motion graphics and numeric informationcorresponding to a charging state of the battery, and display, via thetouchscreen display, a second user interface corresponding to the secondcharging mode at least temporarily while the second charging power isobtained, the second user interface including the one or more motiongraphics and the numeric information and an indicator indicative of thesecond charging mode.
 10. A method of controlling charging by anelectronic device for receiving power from an external power supply andcharging a battery, the method comprising: based at least in part on adetermination that the electronic device is connected with the externalpower supply device via a connector of the electronic device, obtaininga first charging power from the external power supply device via theconnector, the connector including a universal serial bus (USB)interface including a D+ line and a D− line and the first charging powerhaving a first voltage and a first current; after the first chargingpower is obtained from the external power supply device, receiving asecond current lower than the first current from the external powersupply device via the connector while a communication is performedbetween the electronic device and the external power supply device viaat least one line of the D+ line or the D− line; after thecommunication, obtaining a second charging power higher than the firstcharging power from the external power supply device via the connector,the second charging power having a second voltage higher than the firstvoltage and a third current higher than the second current; and chargingthe battery of the electronic device using the second charging power.11. The method of claim 10, wherein the communication is performed byrepeatedly changing a first signal corresponding to a first line of theD+ line and the D− line between a first level and a second level while asecond signal corresponding to a second line of the D+ line and the D−line is maintained at a substantially same level.
 12. The method ofclaim 11, wherein the first level corresponds to one state of a highstate or a low state and the second state corresponds to another stateof the high state or the low state.
 13. The method of claim 10, whereinthe third current is lower than the first current.
 14. The method ofclaim 10, wherein the electronic device is capable of supporting aplurality of charging modes including a first charging modecorresponding to the first charging power and a second charging modecorresponding to the second charging power, and the method furthercomprising: transitioning from the first charging mode to the secondcharging mode after the first charging power is obtained in the firstcharging mode and before the second charging power is obtained in thesecond charging mode.
 15. The method of claim 14, further comprising:based at least in part on a determination that a specified function isperformed while the second charging power is obtained from the externalpower supply device, obtaining a third charging power lower than thesecond charging power from the external power supply device; andcharging the battery using the third charging power.
 16. The method ofclaim 15, further comprising: based at least in part on a determinationthat the specified function is terminated while the third charging poweris obtained from the external power supply device, obtaining the secondcharging power from the external power supply device; and charging thebattery using the second charging power.
 17. The method of claim 15,wherein the specified function includes at least one of a call function,a message function, a game function, or a multimedia reproductionfunction.
 18. The method of claim 10, further comprising: displaying,via a touchscreen display of the electronic device, a first userinterface corresponding to the first charging mode at least temporarilywhile the first charging power is obtained, the first user interfaceincluding one or more motion graphics and numeric informationcorresponding to a charging state of the battery; and displaying, viathe touchscreen display, a second user interface corresponding to thesecond charging mode at least temporarily while the second chargingpower is obtained, the second user interface including the one or moremotion graphics and the numeric information and an indicator indicativeof the second charging mode.